package com.katze.boot.system.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@TableName("sys_user_role")
@Data
public class UserRole implements Serializable{

	@Serial
	private static final long serialVersionUID = -3166012934498268403L;

	private Long userId;

	private Long roleId;

	public UserRole(){}

	public UserRole(Long userId, Long roleId) {
		this.userId = userId;
		this.roleId = roleId;
	}
}
